package dao.student.impl;

import dao.student.StudentDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

import java.util.Date;
@Repository
public class StudentDaoImpl implements StudentDao {
    @Value("虎虎")
    private String xm;
    private String zym;
    private String jszh;


    private Date sDate;

    @Override
    public void addStudent() {
        System.out.println("this is dao: save Student! xm="+xm+" zym="+zym+" jszh="+jszh+" today="+sDate);
    }

    @Override
    public void queryStudent() {
        System.out.println("this is dao: query Student!");
    }

    @Override
    public void deleteStudent() {

    }

    @Override
    public void updateStudent() {

    }
}
